package dmxGroupControl;

import javafx.scene.paint.Color;

/**
 * Created by higginsonj on 16/10/2014.
 */
public enum StatusCode
{
    NOT_STARTED_YET (Color.RED, "Not started yet"),
    NOTHING_RECEIVED (Color.YELLOW, "Started; nothing received"),
    NOTHING_SENT (Color.YELLOW, "Started; nothing sent"),
    DATA_RECEIVED (Color.GREEN, "Data received"),
    DATA_SENT (Color.GREEN, "Data sent"),
    ERROR (Color.RED, "Error");

    Color color;

    public String getCodeText()
    {
        return codeText;
    }

    String codeText;

    StatusCode(Color color, String codeText)
    {
        this.color = color;
        this.codeText = codeText;
    }

    public Color getColor()
    {
        return color;
    }

}
